00001
00002
00003
00004
00005 #if !defined(AFX_MAINFRM_H__81826319_8D02_4284_80C0_FB081B344A9E__INCLUDED_)
00006 #define AFX_MAINFRM_H__81826319_8D02_4284_80C0_FB081B344A9E__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "FlatSplitterWnd.h"
00013 #include "MessageDiag.h"
00014 #include "NetUsersDiag.h"
00015
00016 class CMainFrame : public CFrameWnd
00017 {
00018
00019 public:
00020 CMainFrame();
00021 protected:
00022 DECLARE_DYNAMIC(CMainFrame)
00023
00024
00025 public:
00026
00027 CNetUsersDiag m_wndNetUsers;
00028 CMessageDiag m_wndMessages;
00029
00030
00031 public:
00032
00033
00034
00035
00036 public:
00037 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00038 virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
00039 protected:
00040 virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
00041
00042
00043
00044 public:
00045 virtual ~CMainFrame();
00046 #ifdef _DEBUG
00047 virtual void AssertValid() const;
00048 virtual void Dump(CDumpContext& dc) const;
00049 #endif
00050
00051 protected:
00052 CFlatSplitterWnd m_wndSplitter;
00053 CStatusBar m_wndStatusBar;
00054
00055
00056 protected:
00057
00058 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00059 afx_msg void OnSetFocus(CWnd *pOldWnd);
00060
00061 DECLARE_MESSAGE_MAP()
00062 };
00063
00064
00065
00066
00067
00068
00069 #endif // !defined(AFX_MAINFRM_H__81826319_8D02_4284_80C0_FB081B344A9E__INCLUDED_)